#pragma once
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<arpa/inet.h>

enum{
    Usage_err = 1,
    Sock_err,
    Bind_err,
    Listen_err
};
#define CONV(addr_ptr)((struct sockaddr)*addr_ptr);